a28d6c2098e738dfd78e1df929ce689a2ceb6c2a,server/src/com/vaadin/data/util/converter/StringToBigIntegerConverter.java,StringToBigIntegerConverter,convertToModel,#String#Class#Locale#,53
Before Change
public BigInteger convertToModel(String value,
Class<? extends BigInteger> targetType, Locale locale)
throws com.vaadin.data.util.converter.Converter.ConversionException {
return (BigInteger) convertToNumber(value, BigInteger.class, locale);
}
@Override
After Change
Class<? extends BigInteger> targetType, Locale locale)
throws com.vaadin.data.util.converter.Converter.ConversionException {
BigDecimal bigDecimalValue = (BigDecimal) convertToNumber(value,
BigDecimal.class, locale);
return (bigDecimalValue != null) ? bigDecimalValue.toBigInteger() : null;
}